<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智能景区讲解小程序 - 原型</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
    <link rel="stylesheet" href="styles.css">
    <style>
        /* Style for the iframes */
        .prototype-frame {
            width: 375px; /* Simulate phone width */
            height: 667px; /* Simulate phone height */
            border: 1px solid #ccc;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin-bottom: 2rem; /* Spacing between frames */
            background-color: white; /* Background for loading */
        }
        .frame-container {
            display: flex;
            flex-wrap: wrap; /* Allow wrapping */
            justify-content: center; /* Center frames */
            gap: 2rem; /* Spacing between frames */
            padding: 2rem;
            background-color: #f0f4f8; /* Light background for the main page */
        }
        .frame-wrapper {
            text-align: center;
        }
        .frame-title {
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #333;
        }
    </style>
</head>
<body class="bg-gray-200">

    <h1 class="text-2xl font-bold text-center py-6 bg-white shadow-md">智能景区讲解小程序 - 界面原型</h1>

    <div class="frame-container">
        <div class="frame-wrapper">
            <div class="frame-title">景区首页 (home.html)</div>
            <iframe src="./proto/home.html" class="prototype-frame" title="景区首页"></iframe>
        </div>

        <div class="frame-wrapper">
            <div class="frame-title">景点列表 (attractions.html)</div>
            <iframe src="./proto/attractions.html" class="prototype-frame" title="景点列表"></iframe>
        </div>

        <div class="frame-wrapper">
            <div class="frame-title">景点详情 (details.html)</div>
            <iframe src="./proto/details.html" class="prototype-frame" title="景点详情"></iframe>
        </div>

        <div class="frame-wrapper">
            <div class="frame-title">地图导览 (map.html)</div>
            <iframe src="./proto/map.html" class="prototype-frame" title="地图导览"></iframe>
        </div>

        <div class="frame-wrapper">
            <div class="frame-title">个人中心 (profile.html)</div>
            <iframe src="./proto/profile.html" class="prototype-frame" title="个人中心"></iframe>
        </div>
    </div>

</body>
</html>